package com.gitee.jisong.superredis.dao

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.gitee.jisong.superredis.pojo.RedisServers
import org.apache.ibatis.annotations.Mapper

@Mapper
open interface ServersDao : BaseMapper<RedisServers> {

    fun queryAll() : List<RedisServers>

    fun queryPage(offset:Long,limit:Long) : List<RedisServers>

    fun queryCount() : Long
}